package com.winter.mapper;

import com.winter.model.Topic;

import java.util.List;
import java.util.Map;

public interface TopicMapper {

	int deleteByPrimaryKey(long tid);

	int insert(Topic record);

	Topic selectByPrimaryKey(long tid);

	int updateByPrimaryKeySelective(Topic record);

	int deleteById(long userId);//软删除

	public List<Topic> findAllTopic(Map<String,Object> paramMap);

}
